//
//  RBDZJokeModel.m
//  rubaoduanzi
//
//  Created by 李云飞 on 16/9/13.
//  Copyright © 2016年 liyunfei. All rights reserved.
//

#import "RBDZJokeModel.h"

@implementation RBDZJokeModel
-(instancetype)initWithDict:(NSDictionary *)dict{
    if (self=[super init]) {
        _title=dict[@"title"];
        _up=dict[@"up"];
        _down=dict[@"down"];
        _isFav=dict[@"isFav"];
        _content=dict[@"content"];
        _type=dict[@"type"];
    }
    return self;
}
+(instancetype)jokeModelWithDict:(NSDictionary *)dict{
    return [[self alloc]initWithDict:dict];
}

@end
